module ElementsHelper
  def taggings_column(record)
    label = []
    record.taggings.each { |t| label << t.tag.name }
    label.join(" ")
  end
  
  def description_column(record)
    truncate(record.description, :length => 128)
  end
  
  def description_show_column(record)
    record.description
  end
  
end
